#include "threadPool.h"

int pwd(const char* workpath, const int netfd){
    train_t train;
    train.dataLen = strlen(workpath);
    strcpy(train.data,workpath);
    ssize_t ret = send(netfd,&train,sizeof(int)+train.dataLen,0);
    ERROR_CHECK(ret,-1,"send");
    return 0;
}